package org.example.myleet.p539;

import org.example.myleet.Utils.Assert;
import org.example.myleet.Utils.JsonUtils;

import java.util.List;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(1 == solution.findMinDifference(JsonUtils.parse("[\"23:59\",\"00:00\"]", List.class)));
        Assert.isTrue(0 == solution.findMinDifference(JsonUtils.parse("[\"00:00\",\"23:59\",\"00:00\"]", List.class)));
        Assert.isTrue(58 == solution.findMinDifference(JsonUtils.parse("[\"01:02\",\"23:59\",\"02:00\"]", List.class)));
    }
}
